package com.mdd.front.service.pay;

import com.github.binarywang.wxpay.bean.result.WxPayUnifiedOrderV3Result;
import com.icbc.api.IcbcApiException;
import com.mdd.common.entity.order.Order;
import com.mdd.common.entity.refund.OrderRefund;
import com.mdd.front.vo.wxpay.WxPayCreateOrderRequest;

import java.util.Map;

public interface ICBCService {

    WxPayUnifiedOrderV3Result.JsapiResult getICBCPayParam(WxPayCreateOrderRequest request);

    void refund(OrderRefund order, Long userId) throws IcbcApiException;
}
